Class RedbArrayGroupedQueryable<TKey, TItem, TProps>
Grouping by array elements (Items[].Property)
public class RedbArrayGroupedQueryable<TKey, TItem, TProps> : IRedbGroupedQueryable<TKey, TItem> where TItem : class, new() where TProps : class, new()
Inheritance
Implements
Methods
SelectAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TItem>, TResult>>)
Executes projection with aggregations for each group.
public Task<List<TResult>> SelectAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TItem>, TResult>> selector)
ToSqlStringAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TItem>, TResult>>)
Returns SQL string for array GroupBy query.
public Task<string> ToSqlStringAsync<TResult>(Expression<Func<IRedbGrouping<TKey, TItem>, TResult>> selector)
WithWindow(Action<IGroupedWindowSpec<TKey, TItem>>)
WithWindow not supported for array grouping.
public IGroupedWindowedQueryable<TKey, TItem> WithWindow(Action<IGroupedWindowSpec<TKey, TItem>> windowConfig)